package modles

import (
	"time"
)

type Relation struct {
	UserIdentity   int       `gorm:"column:user_identity;type:int" json:"user_identity"`
	FollowIdentity int       `gorm:"column:follow_identity;type:int" json:"follow_identity"`
	RelationTime   time.Time `gorm:"column:relation_time;type:datetime" json:"relation_time"`
}

func (table *Relation) TableName() string {
	return "user_relation"
}
